package cn.tedu.mvcboot01.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class OrderController {
    @RequestMapping("/selectOrder")
    @ResponseBody
    public String selectOrder() {
        return "订单查询成功!";
    }

    @RequestMapping("/deleteOrder")
    @ResponseBody
    public String deleteOrder() {
        return "删除订单成功";
    }

    @RequestMapping("/createOrder")
    @ResponseBody
    public String createOrder(){
        return "创建订单成功";
    }
}